﻿# -- Cmpgn_m.py
"""
    Copyright 2013 J. Kent Harbaugh

    This file is part of Raddel.

    Raddel is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Raddel is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Raddel.  If not, see <http://www.gnu.org/licenses/>.
"""



class Cmpgn_t:
    def MalNames(Self):
        return Self._MalNames
    def Opt(Self):
        return Self._Opt
    def Persist(Self):
        return Self._Persist
    def Temp(Self):
        return Self._Temp
    def __init__(Self):
        Self._Temp=Com_p.Simp_m.Simp_t()
        Self._Persist=Com_p.Persist_m.Persist_t('Save')
        Self._Opt=Opt_m.Opt_t()
        if Self.Opt().BeCont():
            Self.Dice_t=Com_p.Dice_m.ContDice_t
        else:
            Self.Dice_t=Com_p.Dice_m.DiscDice_t
        Self._MalNames=Name_m.Name_t(Self,'.\Campaign_p\MalNames.txt')



import Com_p
from . import Name_m, Opt_m



# -- Cmpgn_m.py
